
***********************************************************************************************************************************************************************************************************
***********************************************************************************************************************************************************************************************************
**************************************************************************************** BASELINE MODELS **************************************************************************************************
***********************************************************************************************************************************************************************************************************
***********************************************************************************************************************************************************************************************************

clear
use "Brancati_isodly_final.dta"

****************************************************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************************************************
********************************************************************* OVERALL:  POISSON (CONDITIONAL FE) **************************** **************************************************************************
****************************************************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************************************************

 ************************************************************************************ OXFORD STRINGENCY INDEX**************************************************************************************************** 



xtset isonum

*Table 1: Baseline Models (Poisson, FE)*

*MODEL 1: Stringency Index**
xtpoisson rebelattk_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, fe  
    
*MODEL 2: OXF40*
xtpoisson rebelattk_isodly lockdown_oxf40 postlockdown_oxf40nolast postlastlockdown_oxf40 stateattk_isowkly_lag deaths_wklag entrance exit, fe 
  test lockdown_oxf40=postlastlockdown_oxf40
    
*MODEL 3: OXF50* [Figure 3a]
xtpoisson rebelattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, fe 
  test lockdown_oxf50=postlastlockdown_oxf50

*MODEL 4: OXF60*
xtpoisson rebelattk_isodly lockdown_oxf60 postlockdown_oxf60nolast postlastlockdown_oxf60 stateattk_isowkly_lag deaths_wklag entrance exit, fe 
  test lockdown_oxf60=postlastlockdown_oxf60
  
*MODEL 5: OXF50 (Outcome=State violence)* [Figure 3b]
xtpoisson stateattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 deaths_wklag entrance exit, fe 
  test lockdown_oxf50=postlastlockdown_oxf50

  
    
*TABLE 2: Baseline Models-Additional Models (Poisson, FE)* 
 
*MODEL 1* 
 xtpoisson rebelattk_isodly prelockdown_oxf50 lockdown_oxf50 postlockdown_oxf50nolast stateattk_isowkly_lag deaths_wklag entrance exit, fe 
 margins, at(prelockdown_oxf50=1 lockdown_oxf50=0 postlockdown_oxf50nolast=0) predict(nu0)
 margins, at(prelockdown_oxf50=0 lockdown_oxf50=1 postlockdown_oxf50nolast=0) predict(nu0)
 
*MODEL 2*  
 xtpoisson rebelattk_isodly prelockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, fe 
 margins, at(prelockdown_oxf50=1 postlockdown_oxf50nolast=0 postlastlockdown_oxf50=0) predict(nu0)
 margins, at(prelockdown_oxf50=0 postlockdown_oxf50nolast=0 postlastlockdown_oxf50=1) predict(nu0)
  
************************************************************************************ 8 STRINGENCY POLICIES ******************************************************************************************************

 

**TABLE 3: Eight Policy Lockdown Measures (Poisson, FE)
  
*MODEL 1*  
xtpoisson rebelattk_isodly lkdn_oxfschl stateattk_isowkly_lag deaths_wklag entrance exit, fe 
  
*MODEL 2*  
xtpoisson rebelattk_isodly  lkdn_oxfwork stateattk_isowkly_lag deaths_wklag entrance exit, fe 
	
*MODEL 3* 
xtpoisson rebelattk_isodly lkdn_oxfhome stateattk_isowkly_lag deaths_wklag entrance exit, fe 
	
*MODEL 4*  
xtpoisson rebelattk_isodly lkdn_oxfpublic stateattk_isowkly_lag deaths_wklag entrance exit, fe 
		
*MODEL 5*  
xtpoisson rebelattk_isodly lkn_oxfgather stateattk_isowkly_lag deaths_wklag entrance exit, fe 
		
*MODEL 6*  
xtpoisson rebelattk_isodly lkdn_oxftrans stateattk_isowkly_lag deaths_wklag entrance exit, fe 
	
*MODEL 7*  
xtpoisson rebelattk_isodly lkdn_oxfmvnt stateattk_isowkly_lag deaths_wklag entrance exit, fe 
		
*MODEL 8*  
xtpoisson rebelattk_isodly lkdn_oxfintl stateattk_isowkly_lag deaths_wklag entrance exit, fe 
	

**TABLE 4: Eight Policy Lockdown Measures-Longterm (Poisson, FE)
  
*MODEL 1*  
xtpoisson rebelattk_isodly lkdn_oxfschl postlkdn_oxfschlnolast postlastlockdown_lkdn_oxfschl stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkdn_oxfschl=postlastlockdown_lkdn_oxfschl

*MODEL 2*
xtpoisson rebelattk_isodly lkdn_oxfwork postlkdn_oxfworknolast postlastlockdown_lkdn_oxfwork stateattk_isowkly_lag deaths_wklag entrance exit, fe  
test lkdn_oxfwork=postlastlockdown_lkdn_oxfwork
   
*MODEL 3*
xtpoisson rebelattk_isodly lkdn_oxfhome postlkdn_oxfhomenolast postlastlockdown_lkdn_oxfhome  stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkdn_oxfhome=postlastlockdown_lkdn_oxfhome
   
*MODEL 4*
xtpoisson rebelattk_isodly lkdn_oxfpublic postlkdn_oxfpublicnolast postlastlockdown_lkdn_oxfpublic stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkdn_oxfpublic=postlastlockdown_lkdn_oxfpublic 
	
*MODEL 5*
xtpoisson rebelattk_isodly lkn_oxfgather postlkn_oxfgathernolast postlastlockdown_lkn_oxfgather stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkn_oxfgather=postlastlockdown_lkn_oxfgather
	
*MODEL 6*
xtpoisson rebelattk_isodly lkdn_oxftrans postlkdn_oxftransnolast postlastlockdown_lkdn_oxftrans stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkdn_oxftrans=postlastlockdown_lkdn_oxftrans
	
*MODEL 7*
xtpoisson rebelattk_isodly lkdn_oxfmvnt postlkdn_oxfmvntnolast postlastlockdown_lkdn_oxfmvnt stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkdn_oxfmvnt=postlastlockdown_lkdn_oxfmvnt
 
*MODEL 8*
xtpoisson rebelattk_isodly lkdn_oxfintl postlkdn_oxfintlnolast postlastlockdown_lkdn_oxfintl stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lkdn_oxfintl=postlastlockdown_lkdn_oxfintl

****************************************************************************** Additional Models ***********************************************************************************************************************
**TABLE 5: Baseline-Time Controls (Poisson, FE)**

*MODEL 1: Stringency Index (2020 onwards)**
xtpoisson rebelattk_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit monthno if year >=2020, fe  

*MODEL 2* Lockdown 50 (2020 onwards)
xtpoisson rebelattk_isodly lockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit monthno if year >=2020, fe 

*MODEL 3: Stringency Index (year)**
xtpoisson rebelattk_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit year, fe  

*MODEL 4* Lockdown 50 (year)
xtpoisson rebelattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit year, fe 
test lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50

*MODEL 5: Stringency Index (month)**
xtpoisson rebelattk_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit monthno, fe  

*MODEL 6* Lockdown 50 (month)
xtpoisson rebelattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit monthno, fe 
test lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50

****************************************************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************************************************
***********************************************************************************  BASELINE: PPML FE  ********************************************************************************************************
****************************************************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************************************************
 
xtset isonum
  
************************************************************************************ OXFORD STRINGENCY INDEX**************************************************************************************************** 
  
***TABLE 6: Baseline Models (Poisson Pseudo Maximum Likelihood (PPML, FE): ***

*MODELl 1: Stringency Index*
ppmlhdfe rebelattk_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) d
 
*MODELl 2: OXF40*
ppmlhdfe rebelattk_isodly lockdown_oxf40 postlockdown_oxf40nolast postlastlockdown_oxf40 stateattk_isowkly_lag deaths_wklag entrance exit,  absorb(isonum) vce(robust) 
  test lockdown_oxf40=postlastlockdown_oxf40
	
*MODEL 3: OXF50*
ppmlhdfe rebelattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
  test lockdown_oxf50=postlastlockdown_oxf50

*MODEL 4: OXF60*
ppmlhdfe rebelattk_isodly lockdown_oxf60 postlockdown_oxf60nolast postlastlockdown_oxf60 stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
  test lockdown_oxf60=postlastlockdown_oxf60

*MODEL 5: OXF50 (Outcome=State violence)*
ppmlhdfe stateattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 deaths_wklag entrance exit, absorb(isonum) vce(robust)
  test lockdown_oxf50=postlastlockdown_oxf50
  
************************************************************************************ 8 STRINGENCY POLICIES ******************************************************************************************************
  
  
**TABLE 7: Eight Policy Lockdown Measures (PPML, FE) ***  
  
*MODEL 1*  
ppmlhdfe rebelattk_isodly lkdn_oxfschl stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 

*MODEL 2*  
ppmlhdfe rebelattk_isodly  lkdn_oxfwork stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
*MODEL 3*  
ppmlhdfe rebelattk_isodly lkdn_oxfhome stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 

*MODEL 4*  
ppmlhdfe rebelattk_isodly lkdn_oxfpublic stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 

*MODEL 5*  
ppmlhdfe rebelattk_isodly lkn_oxfgather stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 

*MODEL 6*  
ppmlhdfe rebelattk_isodly lkdn_oxftrans stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 

*MODEL 7*  
ppmlhdfe rebelattk_isodly lkdn_oxfmvnt stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 

*MODEL 8*  
ppmlhdfe rebelattk_isodly lkdn_oxfintl stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
	

**TABLE 8: Eight Policy Lockdown Measures-Longterm (PPML, FE)***  
  
*MODEL 1*  
ppmlhdfe rebelattk_isodly lkdn_oxfschl postlkdn_oxfschlnolast postlastlockdown_lkdn_oxfschl stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkdn_oxfschl=postlastlockdown_lkdn_oxfschl

*MODEL 2*
ppmlhdfe rebelattk_isodly lkdn_oxfwork postlkdn_oxfworknolast postlastlockdown_lkdn_oxfwork stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkdn_oxfwork=postlastlockdown_lkdn_oxfwork
   
*MODEL 3*   
ppmlhdfe rebelattk_isodly lkdn_oxfhome postlkdn_oxfhomenolast postlastlockdown_lkdn_oxfhome stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) 
test lkdn_oxfhome=postlastlockdown_lkdn_oxfhome

*MODEL 4*   
ppmlhdfe rebelattk_isodly lkdn_oxfpublic postlkdn_oxfpublicnolast postlastlockdown_lkdn_oxfpublic stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkdn_oxfpublic=postlastlockdown_lkdn_oxfpublic 
	
*MODEL 5*
ppmlhdfe rebelattk_isodly lkn_oxfgather postlkn_oxfgathernolast postlastlockdown_lkn_oxfgather stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkn_oxfgather=postlastlockdown_lkn_oxfgather
	
*MODEL 6*
ppmlhdfe rebelattk_isodly lkdn_oxftrans postlkdn_oxftransnolast postlastlockdown_lkdn_oxftrans stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkdn_oxftrans=postlastlockdown_lkdn_oxftrans

*MODEL 7*	
ppmlhdfe rebelattk_isodly lkdn_oxfmvnt postlkdn_oxfmvntnolast postlastlockdown_lkdn_oxfmvnt stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkdn_oxfmvnt=postlastlockdown_lkdn_oxfmvnt

*MODEL 8* 
ppmlhdfe rebelattk_isodly lkdn_oxfintl postlkdn_oxfintlnolast postlastlockdown_lkdn_oxfintl stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lkdn_oxfintl=postlastlockdown_lkdn_oxfintl
    

****************************************************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************************************************
*************************************************************************************  BASELINE: ZIP MODELS  ***************************************************************************************************
****************************************************************************************************************************************************************************************************************
****************************************************************************************************************************************************************************************************************


***TABLE 9: Baseline Models (ZIP)***

*Model 1: Oxford Stringency Index
zip rebelattk_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*Model 2: OXF40
zip rebelattk_isodly lockdown_oxf40 postlockdown_oxf40nolast postlastlockdown_oxf40 stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)  
  test lockdown_oxf40=postlastlockdown_oxf40
  
*MODEL 3: OXF50*
zip rebelattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
  test lockdown_oxf50=postlastlockdown_oxf50

*MODEL 4: OXF60*
zip rebelattk_isodly lockdown_oxf60 postlockdown_oxf60nolast postlastlockdown_oxf60 stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
  test lockdown_oxf60=postlastlockdown_oxf60

*MODEL 5: OXF50 (Outcome=State violence)*
zip stateattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
  test lockdown_oxf50=postlastlockdown_oxf50

  
  
**TABLE 10: Eight Policy Lockdown Measures (ZIP)***  
  
*MODEL 1*  
zip rebelattk_isodly lkdn_oxfschl stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
 
*MODEL 2*  
zip rebelattk_isodly  lkdn_oxfwork  stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*MODEL 3* 	
zip rebelattk_isodly lkdn_oxfhome stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*MODEL 4* 
zip rebelattk_isodly lkdn_oxfpublic stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*MODEL 5* 	
zip rebelattk_isodly lkn_oxfgather stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*MODEL 6* 
zip rebelattk_isodly lkdn_oxftrans stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*MODEL 7* 
zip rebelattk_isodly lkdn_oxfmvnt stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

*MODEL 8* 
zip rebelattk_isodly lkdn_oxfintl stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
	


**TABLE 11: Eight Policy Lockdown Measures-Longterm (ZIP) ***  
  
*MODEL 1*   
zip rebelattk_isodly lkdn_oxfschl postlkdn_oxfschlnolast postlastlockdown_lkdn_oxfschl stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxfschl=postlastlockdown_lkdn_oxfschl

*MODEL 2* 
zip rebelattk_isodly lkdn_oxfwork postlkdn_oxfworknolast postlastlockdown_lkdn_oxfwork stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxfwork=postlastlockdown_lkdn_oxfwork
   
*MODEL 3* 
zip rebelattk_isodly lkdn_oxfhome postlkdn_oxfhomenolast postlastlockdown_lkdn_oxfhome stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxfhome=postlastlockdown_lkdn_oxfhome
   
*MODEL 4*   
zip rebelattk_isodly lkdn_oxfpublic postlkdn_oxfpublicnolast postlastlockdown_lkdn_oxfpublic stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxfpublic=postlastlockdown_lkdn_oxfpublic 

*MODEL 5* 	
zip rebelattk_isodly lkn_oxfgather postlkn_oxfgathernolast postlastlockdown_lkn_oxfgather stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkn_oxfgather=postlastlockdown_lkn_oxfgather

*MODEL 6* 	
zip rebelattk_isodly lkdn_oxftrans postlkdn_oxftransnolast postlastlockdown_lkdn_oxftrans stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxftrans=postlastlockdown_lkdn_oxftrans

*MODEL 7* 	
zip rebelattk_isodly lkdn_oxfmvnt postlkdn_oxfmvntnolast postlastlockdown_lkdn_oxfmvnt stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxfmvnt=postlastlockdown_lkdn_oxfmvnt
 
*MODEL 8*  
zip rebelattk_isodly lkdn_oxfintl postlkdn_oxfintlnolast postlastlockdown_lkdn_oxfintl stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lkdn_oxfintl=postlastlockdown_lkdn_oxfintl
   
 
**************************************************************************************************************************************************************************************************
**************************************************************************************************************************************************************************************************
************************************** POPULATION SUBSETS ****************************************************************************************************************************************
**************************************************************************************************************************************************************************************************
**************************************************************************************************************************************************************************************************

***TABLE 12: Subset: Noncivilian Attacks (Poisson, PPML, ZIP)***

gen rebelattknonciv_isodly = rebelattk_isodly-rebelattkcivln_isodly

**Model 1: non-civilians, index, Poisson
xtpoisson rebelattknonciv_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, fe  
  
**Model 2: non-civilians, lockdown [50], Poisson
xtpoisson rebelattknonciv_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, fe 
test lockdown_oxf50=postlastlockdown_oxf50

**Model 3: non-civilians, index, PPML
ppmlhdfe rebelattknonciv_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) d

**Model 4: non-civilians, lockdown [50], PPML
ppmlhdfe rebelattknonciv_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
test lockdown_oxf50=postlastlockdown_oxf50
	
**Model 5: non-civilians, index, ZIP
zip rebelattknonciv_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)

**Model 6: non-civilians, lockdown [50], ZIP
zip rebelattknonciv_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
test lockdown_oxf50=postlastlockdown_oxf50
  
  
***TABLE 13: Subset: Civilian Attacks (Poisson, PPML, ZIP)***

**Model 1: civilians, index, Poisson
xtpoisson rebelattkcivln_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, fe  
  
**Model 2: civilians, lockdown [50], Poisson
xtpoisson rebelattkcivln_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, fe 
  test lockdown_oxf50=postlastlockdown_oxf50
  
**Model 3: civilians, index, PPML  
ppmlhdfe rebelattkcivln_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust) d
 
**Model 4: civilians, lockdown [50], PPML
ppmlhdfe rebelattkcivln_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, absorb(isonum) vce(robust)
  test lockdown_oxf50=postlastlockdown_oxf50
  
**Model 5: civilians, index, ZIP
zip rebelattkcivln_isodly oxfstringindex stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
 
**Model 6: civilians, lockdown [50], ZIP 
zip rebelattk_isodly lockdown_oxf50 postlockdown_oxf50nolast postlastlockdown_oxf50 stateattk_isowkly_lag deaths_wklag entrance exit, inflate(v2x_polyarchy_lag) vce(cluster iso)
   test lockdown_oxf50=postlastlockdown_oxf50
  